package com.microservice.common.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * AOP配置类
 * 确保AspectJ自动代理启用
 */
@Slf4j
@Configuration
@EnableAspectJAutoProxy(proxyTargetClass = true)
public class AspectConfig {
    
    public AspectConfig() {
        log.info("AOP配置已加载，AspectJ自动代理已启用");
    }
}
